package animals;

public class Main {
    public static void main(String[] args) {
        Animals an = new Animals("mao");
        an.speak();
        Dog mydog = new Dog("wangcai");
        mydog.speak();
        mydog.wagTail();

    }
}
